﻿<UserControl x:Class="LevelEditor.View.UserControls.PropertiesPanel"
             Name="PropertiesControlPanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <DockPanel DockPanel.LastChildFill="True" FrameworkElement.HorizontalAlignment="Stretch" FrameworkElement.VerticalAlignment="Stretch" FrameworkElement.Width="Auto" FrameworkElement.Height="Auto">
        <Grid DockPanel.Dock="Top">
            <Rectangle FrameworkElement.Height="20" Shape.Fill="#FF2D2D2D" />
            <Label Control.Foreground="#FFFFFFFF">
                Properties
            </Label>
        </Grid>
        <ScrollViewer ScrollViewer.VerticalScrollBarVisibility="Auto">
            <StackPanel FrameworkElement.VerticalAlignment="Stretch" FrameworkElement.HorizontalAlignment="Stretch">
                <xctk:PropertyGrid Name="_propertyGrid" FrameworkElement.VerticalAlignment="Stretch" NameColumnWidth="100" FrameworkElement.HorizontalAlignment="Stretch" AutoGenerateProperties="False" Control.Background="#FFFFFFFF" Control.BorderThickness="0" ShowSortOptions="False" ShowSearchBox="False" DisplaySummary="False" />
            </StackPanel>
        </ScrollViewer>
    </DockPanel>
</UserControl>
